package com.hex.ds.hdtp.core.inf.script.transfer.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

/**
 * @Package: com.hex.ds.hdtp.core.inf.script.transfer.po
 * @ClassName ScriptConvertTaskPo
 * @Description: 脚本转换任务-PO对象
 * @Author: wz.li
 * @Date 2023/2/12 10:01
 * @Version v2.0.2
 **/
@Data
@TableName(value = "tm_script_convert_task")
public class ScriptConvertTaskPo implements Serializable {

    @TableId(value = "pk_id",type = IdType.ASSIGN_UUID)
    private String pkId;

    @TableField(value = "task_name")
    private String taskName;

    @TableField(value = "convert_type")
    private String convertType;

    @TableField(value = "source_conn_code")
    private String sourceConnCode;

    @TableField(value = "target_conn_code")
    private String targetConnCode;

    @TableField(value = "source_file_path")
    private String sourceFilePath;

    @TableField(value = "convert_file_path")
    private String convertFilePath;

    @TableField(value = "upload_file_path")
    private String uploadFilePath;

    @TableField(value = "status")
    private String status;

    @TableField(value = "todo_num")
    private Integer todoNum;

    @TableField(value = "success_num")
    private Integer successNum;

    @TableField(value = "fail_num")
    private Integer failNum;

    @TableField(value = "verify_status")
    private String verifyStatus;

    @TableField(value = "verify_total_num")
    private Integer verifyTotalNum;

    @TableField(value = "verify_success_num")
    private Integer verifySuccessNum;

    @TableField(value = "convert_start_ts")
    private String convertStartTs;

    @TableField(value = "convert_end_ts")
    private String convertEndTs;

    @TableField(value = "crt_user", fill = FieldFill.INSERT)
    private String crtUser;

    @TableField(value = "crt_user_name", fill = FieldFill.INSERT)
    private String crtUserName;

    @TableField(value = "crt_ts", fill = FieldFill.INSERT)
    private String crtTs;

    @TableField(value = "up_user", fill = FieldFill.INSERT_UPDATE)
    private String upUser;

    @TableField(value = "up_user_name", fill = FieldFill.INSERT_UPDATE)
    private String upUserName;

    @TableField(value = "up_ts", fill = FieldFill.INSERT_UPDATE)
    private String upTs;

}
